korlibs
Toggle table of contents
6.1.0-SNAPSHOT
js
wasmJs
Target filter
js
wasmJs
Switch theme
Search in API
Skip to content
korlibs
korlibs-audio-core
/
org.w3c.dom
/
[wasmJs]AudioBuffer
Audio
Buffer
wasmJs
external
class
AudioBuffer
Members
Members & Extensions
Constructors
Audio
Buffer
Link copied to clipboard
wasmJs
constructor
(
)
Properties
duration
Link copied to clipboard
wasmJs
val
duration
:
Double
duration
Or
Null
Link copied to clipboard
js
val
AudioBuffer
.
durationOrNull
:
Double
?
length
Link copied to clipboard
wasmJs
val
length
:
Int
number
Of
Channels
Link copied to clipboard
wasmJs
val
numberOfChannels
:
Int
sample
Rate
Link copied to clipboard
wasmJs
val
sampleRate
:
Int
Functions
copy
From
Channel
Link copied to clipboard
wasmJs
fun
copyFromChannel
(
destination
:
Float32Array
,
channelNumber
:
Int
,
startInChannel
:
Double
?
)
copy
To
Channel
Link copied to clipboard
wasmJs
fun
copyToChannel
(
source
:
Float32Array
,
channelNumber
:
Int
,
startInChannel
:
Double
?
)
get
Channel
Data
Link copied to clipboard
wasmJs
fun
getChannelData
(
channel
:
Int
)
:
Float32Array